package lt.marsrutai.mobile.android.service;

import android.content.res.Resources;
import android.graphics.drawable.Drawable;

/**
 * <p>Manipulates shapes, by changing their colors and combining with other shapes.</p>
 * <p>This enables the creation of icons with any color, provided said icons have a 
 * solid color shape template and optionally an overlay with shades, highlights etc.</p>
 * 
 * @author Justas
 *
 */
public interface ShapeManipulationService {

    /**
     * <p>Colors the provided shape with <code>targetColor</code>, and combines it with the provided overlay.</p>
     * <p>Overlay is applied on top of the shape</p>
     * 
     * @param resources
     * @param shapeId
     * @param overlayId
     * @param targetColor
     * @return
     */
    public Drawable combineShapes(Resources resources, int shapeId, int overlayId, int targetColor);
    
}
